
import treeHtml from './index.html';
import app from '../../index.js';
import * as d3 from 'd3';

export default{
  init:function () {
    app.config(['$stateProvider', function ($stateProvider) {
      $stateProvider.state('demo2', {
        url: '/demo2',
        template: treeHtml
      });
    }]);
    app.controller('demo2Controller', ["$scope",function ($scope) {
      $scope.title = 'demo2';
    }]);
  }

}

